{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "%matplotlib inline\n",
    "from pylab import *\n",
    "import matplotlib\n",
    "import matplotlib.pyplot as plt\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "x = np.linspace(0, 5, 10)\n",
    "y = x ** 2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEWCAYAAABhffzLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjAsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8GearUAAAc2UlEQVR4nO3de7zVY97/8denREenKX45pOHGON3FbBUNQ4UmIWeZhJGMe0IOQ8YgEyO6GWHkTjVSiaRImkhTt7qjFDWiHMYokQ4qOlDt9uf3x7WMpna1263vutZa3/fz8diPtfZ3rb2/n/Uo7y7X9/p+LnN3REQkParELkBERHJLwS8ikjIKfhGRlFHwi4ikjIJfRCRlFPwiIimj4BfZBjNrYGarzKzqVt7jZvYfuaxLpLIU/CLlMLNPzawVgLvPd/fa7r4h89pEM+sUt0KRylPwi4ikjIJfZBNmNghoALyUmeK5OTOVs5OZ3QOcADyaee3Rcn5+FzP7bzObb2aLzOxxM6uR688hsiUKfpFNuPslwHzgDHevDQzb6LXbgElAl8z0T5dyfsV9wCFAY+A/gH2BOxIvXKSCFPwiWWRmBlwJXO/uy9x9JfBH4KK4lYn8YKfYBYgUmXpATWBG+DcAAAO2uCJIJNcU/CLl21rb2q29thT4FjjC3T/Pbkki2aGpHpHyLQIO3N7X3L0MeAL4k5ntBWBm+5rZaYlUKVIJCn6R8t0L/N7MVgDnbfJab+A8M1tuZg+X87O3AB8Db5rZN8BrwK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ke1jOztsBid58Ru5Yca+7uxwC/AH6TmcrNimIOfm3qngKZee7ngSHuPiJ2Pbnk7iuAiUDryKUkrTlwZmbO+xmghZkNjltS8tz9i8zjYmAkYfo6K4o5+LWpe5HLXOjsD8xx9wdj15MLZlbPzHbPPK8BtALmxq0qWe5+q7vv5+4NCf8d/83dO0QuK1FmViuzYAEzqwWcCmRttV7RBr+7lwLfb+o+BxhW7Ju6m9lQ4A3gUDNbYGZXxK4pYc2BSwgjwJmZrzaxi0pYfWCCmf2dMLgZ5+6pWN6YMnsDk81sFjANeNndx2brlxftck4RESlf0Y74RUSkfAp+EZGUUfCLiKSMgl9EJGUU/CIiKaPgFxFJGQW/iEjKKPhFKsHMjjWzv2f649fK9MYv6p45Ujx0A5dIJZnZ3UB1oAawwN3vjVySSIUo+EUqKdMD6i3gO+B4d98QuSSRCtFUj0jl7QnUBuoQRv4iBUEjfpFKMrNRhDbBPyZsAdklckkiFbJT7AJECpGZdQRK3f3pzP7OU8yshbv/LXZtItuiEb+ISMpojl9EJGUU/CIiKaPgFxFJGQW/iEjKKPhFRFJGwS8ikjIKfhGRlPn/o4UxYl/VJLIAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "figure()\n",
    "plot(x, y, 'r')\n",
    "xlabel('x')\n",
    "ylabel('y')\n",
    "title('title')\n",
    "show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
